VintaSoft Imaging .NET SDK 14.0: Documentation for .NET developer
Vintasoft.Imaging.Codecs.ImageFiles Namespace / ImageFileSource Class / ReadBytes Methods / ReadBytes(Byte[]) Method
Syntax Requirements SeeAlso
In This Topic
    ReadBytes(Byte[]) Method (ImageFileSource)
    In This Topic
    Reads bytes from the stream of the image file.
    Syntax
    'Declaration
    
    Public Overloads Function ReadBytes( _
    ByVal buffer
    The buffer to read data into.
    () As Byte _
    ) As System.Int32
    public System.Int32 ReadBytes(
    byte[] buffer
    )
    public: System.Int32 ReadBytes(
    byte[]* buffer
    )
    public:
    System.Int32 ReadBytes(
    array<byte>^ buffer
    )

    Parameters

    buffer
    The buffer to read data into.

    Return Value

    The number of characters read into buffer. This might be less than the number of bytes requested if that many bytes are not available, or it might be zero if the end of the stream is reached.
    Requirements

    Target Platforms: .NET9; .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

    See Also